#!/usr/bin/python
# -*-  coding: UTF-8  -*-

try :
    import wx
except :
    raise Exception("You need to install wxPython to use this software")

import xrcmgr, gui

class MyApp(wx.App) :

    def OnInit(self) :
        xrcmgr.Load('res/activities.xrc')
        dlg = gui.MyFrame(None)
        return True


def main() :
    app = MyApp(redirect = False)
    app.MainLoop()


if __name__ == '__main__':
    main()
